package com.example.eightapi.controller;



import com.example.eightapi.pojo.price_ptv_num;
import com.example.eightapi.service.PricenumService;
import com.example.eightapi.util.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class PricenumController {
    @Autowired
    private PricenumService pricenumService;
    @GetMapping("/queryAllpricenum")
    public ResponseResult<List<price_ptv_num>> queryAllareanum (){
        List<price_ptv_num>pf =pricenumService.queryAllpricenum();
        return new ResponseResult<>("200","查询成功",pf);
    }
}
